package com.utooo.pojo.domain.purchase.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.utooo.pojo.domain.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("aigis_cgddgl_2025040108121317")
public class PurchaseOrderDO extends BaseDO {

    /**
     * 订单标题
     */
    @TableField("comInputField102")
    private String title;

    /**
     * 订单来源
     */
    @TableField("selectField149")
    private String source;

    /**
     * 订单类型
     */
    @TableField("selectField115")
    private String type;

    /**
     * 订单说明
     */
    @TableField("comInputField122")
    private String description;

    /**
     * 公司
     */
    @TableField("selectField116")
    private String company;

    /**
     * 采购员
     */
    @TableField("selectField117")
    private String purchaser;

    /**
     * 需求总数量
     */
    @TableField("numInputField119")
    private Integer quantity;

    /**
     * 含税总金额
     */
    @TableField("numInputField120")
    private BigDecimal totalAmount;

    /**
     * 供应商名称
     */
    @TableField("relationFormField165")
    private String supplierName;

    /**
     * 供应商编码
     */
    @TableField("comInputField132")
    private String supplierCode;

    /**
     * 联系电话
     */
    @TableField("comInputField125")
    private String contactPhone;

    /**
     * 联系人
     */
    @TableField("comInputField166")
    private String contact;

    /**
     * 订单编号
     */
    @TableField("comInputField164")
    private String orderNo;
}